package ifmo.compiler.task21.lexer.tokens.symbols;

import ifmo.compiler.task21.lexer.tokens.Token;
import ifmo.compiler.task21.lexer.tokens.TokenType;

/**
 * Class representing a symbol token. Symbols list can be found in
 * class SymbolFactory.
 *
 * @author byaminov
 */
public abstract class SymbolToken extends Token<String> {

    private String value;

    protected SymbolToken(String value) {
        super(TokenType.SYMBOL);
        this.value = value;
    }

    public String getValue() {
        return value;
    }
}
